package com.info.zhiduoduo.common.configs;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@PropertySource("classpath:common-${spring.profiles.active}.properties")
@ConfigurationProperties("pay")
@Data
public class PayTestModeConfig {

	/** 支付,是否直接走测试通道 */
	private boolean testMode;

}
